package com.edooteach.api.dao;

import java.util.List;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;
import com.edoomath.entity.user.UserAddress;

/**
 * 
 * @author sjh
 *
 */
@Dao("hibernate")
public interface UserAddressApiDao {
	
	@Query("FROM UserAddress WHERE unionid =:unionid")
	public List<UserAddress> listByunionid(@Variable("unionid") String unionid);

}
